package com.udaos.models.company;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import com.udaos.common.base.Model;
/**
* @author mutaotao
* @time   2016-11-07 17:19:18
*/
@Table("ud_company")
public class Ud_company extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	@Comment("主键ID")
	private String id;
	@Column
	@Comment("状态  0:正常;-1:未启用;1:停用")
	private Integer state;
	@Column
	@Comment("编码")
	private String code;
	@Column
	@Comment("名称")
	private String name;
	@Column
	@Comment("加入时间")
	private Integer join_date;
	@Column
	@Comment("备注")
	private String memo;
	@Column
	@Comment("创建人")
	private String createBy;
	@Column
	@Comment("创建时间")
	private Integer createAt;
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public Integer getState()
	{
		return state;
	}
	public void setState(Integer state)
	{
		this.state=state;
	}
	public String getCode()
	{
		return code;
	}
	public void setCode(String code)
	{
		this.code=code;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name=name;
	}
	public Integer getJoin_date()
	{
		return join_date;
	}
	public void setJoin_date(Integer join_date)
	{
		this.join_date=join_date;
	}
	public String getMemo()
	{
		return memo;
	}
	public void setMemo(String memo)
	{
		this.memo=memo;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}
	
}